package com.boyi.center.service.impl;

import com.boyi.center.service.UserService;
import com.boyi.db.entity.User;
import com.boyi.db.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 颜培轩
 * @date 2017年12月28日  23:59
 */
@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> selectAll_1() {
        return userMapper.selectAllT();
    }
    /* public void restTemplateTest() {
         ResponseEntity<User> forEntity = restTemplate.getForEntity("", User.class);
         User body = forEntity.getBody();
     }*/
}
